package net.neptech.feign;

import net.neptech.model.schedule.Schedule;
import net.neptech.vm.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@FeignClient("schedule")
public interface ScheduleFeignClient {

     @PostMapping("schedule/schedule/search")
     ResponseResult<List<Schedule>> searchSchedule(@RequestBody Schedule schedule);

}
